package com.chinacoal.microservice.api.fallback;

import java.util.List;

import org.springframework.stereotype.Component;

import com.baomidou.mybatisplus.plugins.Page;
import com.chinacoal.microservice.api.TaskCatRegisterClient;
import com.chinacoal.microservice.api.model.QueryUtaskCatParam;
import com.chinacoal.microservice.api.model.entity.UtaskCatEntity;
import com.chinacoal.microservice.util.result.CodeMsg;
import com.chinacoal.microservice.util.result.Result;

@Component
public class TaskCatRegisterClientFallback implements TaskCatRegisterClient {

	@Override
	public Result<Object> addTaskReg(UtaskCatEntity utaskCatEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> updateTaskReg(UtaskCatEntity utaskCatEntity) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Object> deleteTaskReg(String catId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<Page<UtaskCatEntity>> getList(Integer page, Integer pageSize, QueryUtaskCatParam param) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<UtaskCatEntity> getTaskCat(String catId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<List<UtaskCatEntity>> getTaskCatBySysId(String sysId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}

	@Override
	public Result<List<UtaskCatEntity>> getLowerTaskCat(String upCatId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.FALLBACK);
	}
}
